package com.ews.onlineexchange.model.assess;

public enum CreditLevel {

	APlus( 95, true, null, 	false, "A+" ), A( 90, true, 95, false, "A" ), 
	BPlus( 85, true, 90, 	false, "B+" ), B( 80, true, 85, false, "B" ), 
	CPlus( 70, true, 80, 	false, "C+" ), C( 60, true, 70, false, "C" ), 
	D( null, true, 60, false, "D" );

	private Integer	min;
	private boolean	includeMin;
	private Integer	max;
	private boolean	includeMax;

	private String	typeName;

	public Integer getMin() {
		return min;
	}

	public boolean isIncludeMin() {
		return includeMin;
	}

	public Integer getMax() {
		return max;
	}

	public boolean isIncludeMax() {
		return includeMax;
	}

	public String getTypeName() {
		return typeName;
	}

	private CreditLevel( Integer min, boolean includeMin, Integer max, boolean includeMax, String typeName ) {
		this.min = min;
		this.includeMin = includeMin;
		this.max = max;
		this.includeMax = includeMax;
		this.typeName = typeName;
	}

}
